import request from '/@/utils/request';

/**
 *
 * 随访记录

 */

export function RecordLogApi() {
	return {
		getTableData: (params) => {
			return request({
				url: '/followup/record/get',
				method: 'get',
				params: params,
			});
		},
		getPatientAiDetail: (params) => {
			return request({
				url: '/followup/record/detail/get',
				method: 'get',
				params: params,
			});
		},
		getPatientArtificialDetail: (params) => {
			return request({
				url: '/followup/record/detail/manual/list',
				method: 'get',
				params: params,
			});
		},
		getPatientArtificialDetailById: (params) => {
			return request({
				url: '/followup/record/detail/manual/get',
				method: 'get',
				params: params,
			});
		},
		getPatientArtificialDetailSeparateByRecordId: (params) => {
			return request({
				url: '/followup/record/detail/manual/separate',
				method: 'get',
				params: params,
			});
		},
		getPatientSignConfig: (params) => {
			return request({
				url: '/followup/patientSignConfig',
				method: 'get',
				params: params,
			});
		},
        setPatientSign: (data) => {
			return request({
				url: '/followup/setPatientSign',
				method: 'post',
				data
			});
		},
        getPatientSign: (data) => {
			return request({
				url: '/followup/getPatientSign',
				method: 'post',
				data
			});
		},
	};
}
